<html>
<head>
<script type='text/javascript'>
function changeSrc()
{
	var report = document.getElementById('param1').value;
	if(report=='veh_details')
	window.open('main_dynamic_report.php','VehicleDetails');

	if(report=='fuel')
	window.open('main_fuel_report.php','FuelReport');

	if(report=='work_summary')
	window.open('main_ws_report.php','WorkSummary');

	if(report=='incident')
	window.open('main_incident_report.php','IncidentReport');

	if(report=='decommission')
	window.open('main_dec_report.php','Decommission');
	
	if(report=='insurance')
	window.open('main_insurance_report.php','Insurance');
	
	if(report=='reminder')
	window.open('main_reminder_report.php','Reminder');
}

</script>
</head>
<body style="background-image:url(image/dynamic_report2.png);background-repeat:no-repeat">
<span style='font-weight:bold;color:white;font-size:15px;font-family:Times New Roman'>Select Report Type:</span>
<br /><br />
<select id="param1" style='margin-left:auto;margin-right:auto;font-size:12px;font-family:Times New Roman;background:black;color:white'>
  <option value="veh_details">Vehicle Details</option>
  <option value="fuel">Fuel</option>
  <option value="work_summary">Work Summary</option>
  <option value="incident">Incident Report</option>
  <option value="decommission">Decommission History</option>
  <option value="insurance">Insurance</option>
  <option value="reminder">Reminder</option>
</select>
<br /><br />
<input type="submit" value="Open" style='margin-left:auto;margin-right:auto;font-size:12px;font-family:Times New Roman;background:black;color:white;cursor:pointer' onClick=changeSrc() />
<p style=" position: relative; top : 0; width: 100%; text-align: center;"><img border="0" src="image/logo_footer.png" width="135" height="45" style='margin-left:auto;margin-right:auto'/></img></p>
</body>
</html>